package com.mengniu.commerce.sync.service;

import com.mengniu.commerce.common.core.domain.R;
import com.mengniu.commerce.sync.api.base.MnResult;
import com.mengniu.commerce.sync.api.domain.CreateItemModel;
import com.mengniu.commerce.sync.api.domain.ModifyItemModel;
import com.mengniu.commerce.sync.api.dto.RetryDTO;

import java.util.List;

public interface ItemService {


    /**
     * 创建商品
     */
    R createItem (List<CreateItemModel> createItemModelList, RetryDTO retryDTO);


    /**
     * 修改商品
     */
    R modifyItem (ModifyItemModel modifyItemModel,RetryDTO retryDTO);
}
